/**
 * 
 */
package com.eqxiu.ieditor.commons.web;

/**
 * 通用消息代码
 * 
 */
public class MsgCode {

	public static final int OK = 200;
	
	/**
	 * 服务器异常
	 */
	public static final int SERVER_ERROR = 500;
	
	/**
	 * 未授权 禁止访问
	 */
	public static final int UNAUTHORIZED = 403;
	
	/**
	 * 未登录
	 */
	public static final int NOLOGIN = 1001;
	
	/**
	 * 登录超时
	 */
	public static final int RELOGIN = 1002;
	
	/**
	 * 不存在该用户 1003
	 */
	public static final int NOUSER = 1003;
	
	/**
	 * 密码错误
	 */
	public static final int PWD_ERROR = 1004;
	
	/**
	 * 验证码错误
	 */
	public static final int CAPTCHA_ERROR = 1005;
	
	/**
	 * 重复注册
	 */
	public static final int RE_REGISTE = 1006;
	
	/**
	 * 帐号已停用
	 */
	public static final int DISABLED_USER = 1007;
	
	/**
	 * 邮箱为空
	 */
	public static final int EMAIL_EMPTY = 1008;
	
	/**
	 * 手机号为空
	 */
	public static final int PHONE_EMPTY = 1009;
	
	/**
	 * 1010数据不合法
	 */
	public static final int CONSTRAINT_VIOLATION = 1010;
	
	/**
	 * 数据不存在或已删除 1011
	 */
	public static final int DATA_NOT_EXIST = 1011;
	
	/**
	 * 1012重复请求
	 */
	public static final int REPEAT_REQUEST = 1012;
	
	/**
	 * 1013超过有效期
	 */
	public static final int OVER_EXPIRED = 1013;
	
	/**
	 * 1014验证码错误
	 */
	public static final int VERIFY_CODE_ILLEGAL = 1014;
	
	/**
	 * 1015已验证过邮箱
	 */
	public static final int EMAIL_CHECKED = 1015;
	
}
